package com.rightsidetech.trade.dtos.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
public class TdBuyCarDetailZpEditReq implements Serializable {

    @ApiModelProperty(value = "购物商品id", required = true)
    @NotNull(message = "购物商品id不能为空")
    private Long id;

    @ApiModelProperty(value = "购物车id",required = true)
    @NotNull(message = "购物车id不能为空")
    private Long buyCarId;


    @ApiModelProperty("赠品列表")
    private List<TdBuyCarDetailZPListReq> zpList;

}
